package com.jzo2o.customer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jzo2o.common.model.PageResult;
import com.jzo2o.customer.model.domain.WorkerCertificationAudit;
import com.jzo2o.customer.model.dto.request.WorkerCertificationAuditAddReqDTO;
import com.jzo2o.customer.model.dto.request.WorkerCertificationAuditPageQueryReqDTO;

public interface WorkerCertficationAuditService extends IService<WorkerCertificationAudit> {
    /**
     * 服务端提交认证申请
     */
    void certificationAudit(WorkerCertificationAuditAddReqDTO dto);

    /**
     * 查询最新的驳回原因
     */
    String rejectReason();

    /**
     * 审核服务人员认证分页查询
     */
    PageResult<WorkerCertificationAudit> queryPageWorker(WorkerCertificationAuditPageQueryReqDTO dto);

    /**
     * 审核服务人员认证信息
     */
    void auditServicePersonnel(Integer certificationStatus, Long id, String rejectReason);
}
